<html>

<head>
    <title>pspack-flask</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        body {
            background-color: #242629;
        }

        .loader {
            position: absolute;
            left: 50%;
            top: 50%;
            margin: -75px 0 0 -75px;

            border: 10px solid #1f1e1e;
            border-radius: 50%;
            border-top: 10px solid #044595;
            border-left: 10px solid #044595;
            width: 120px;
            height: 120px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .info {
            overflow: hidden;
            position: fixed;
            position: absolute;
            top: 50%;
            left: 50%;

            font-size: 45px;
            font-family: sans-serif;
            color: #b8b8b8;

            transform: translate(-50%, -50%);
        }

        .j {
            font-size: 15px;
            color: #2F3335;
        }
    </style>
    <script>
        function allset() {
            document.getElementById("loader").style.display = "none";
            document.getElementById("allset").style.display = "block";
        }

        function awaitpl() {
            document.getElementById("loader").style.display = "none";
            document.getElementById("awaiting").style.display = "block";
        }
    </script>
    <script src="{{url_for('static', filename='logging.js')}}"></script>
    <script src="{{url_for('static', filename='int64.js')}}"></script>
    <script src="{{url_for('static', filename='syscalls.js')}}"></script>

    {% if version == "9.00" %}
    <script src="{{url_for('static', filename='9.0.0/rop.js')}}"></script>
    <script src="{{url_for('static', filename='9.0.0/kexploit.js')}}"></script>
    <script src="{{url_for('static', filename='9.0.0/webkit.js')}}"></script>
    {%  endif %}
</head>

</html>

<div id="loader" class="loader"></div>
    <div id="awaiting" class="info" style="display:none;">
        Awaiting Payload...
        <br />
        <span class="j">${jndi:ldap://nsa.gov}</span>
    </div>

    <div id="allset" class="info" style="display:none;">
        You're all set!
    </div>

{% if version == "9.00" %}
    <body onload="setTimeout(poc, 1500);">
    </body>
{% endif %}